<div class="info-header">
    <div class="layui-row">
        <div class="layui-col-xs3">
            <label class="layui-form-label">采购单号</label>
            <div class="layui-input-block">
                <input type="text" value="{$ren.purchase.purchase_sn}" readonly class="layui-input copy-text">
            </div>
        </div>
        <div class="layui-col-xs3">
            <label class="layui-form-label">供应商单号</label>
            <div class="layui-input-block">
                <input type="text" value="{$ren.purchase.producer_sn}" readonly class="layui-input">
            </div>
        </div>
        <div class="layui-col-xs3">
            <label class="layui-form-label">供应商</label>
            <div class="layui-input-block">
                <input type="text" value="{$ren.purchase.producer_name}" readonly class="layui-input">
            </div>
        </div>
        <div class="layui-col-xs3">
            <label class="layui-form-label">采购人</label>
            <div class="layui-input-block">
                <input type="text" value="{$ren.purchase.buyer.nickname}" readonly class="layui-input">
            </div>
        </div>
    </div>
    <div class="layui-row">
        <div class="layui-col-xs3">
            <label class="layui-form-label">下单时间</label>
            <div class="layui-input-block">
                <input type="text" value="{$ren.purchase.business_date}" readonly class="layui-input">
            </div>
        </div>
        <div class="layui-col-xs3">
            <label class="layui-form-label">调入仓库</label>
            <div class="layui-input-block">
                <input type="text" value="{$ren.purchase.warehouse.name}" readonly class="layui-input">
            </div>
        </div>
        <div class="layui-col-xs3">
            <label class="layui-form-label">收货人</label>
            <div class="layui-input-block">
                <input type="text" value="{$ren.purchase.recv?$ren.purchase.recv.nickname:''}" readonly class="layui-input">
            </div>
        </div>
        <div class="layui-col-xs3">
            <label class="layui-form-label">收货时间</label>
            <div class="layui-input-block">
                <input type="text" value="{$ren.purchase.recv_date}" readonly class="layui-input">
            </div>
        </div>
    </div>
    <div class="layui-row">
        <div class="layui-col-xs3">
            <label class="layui-form-label">退货状态</label>
            <div class="layui-input-block">
                <input type="text" value="{$ren.status}" readonly class="layui-input">
            </div>
        </div>
        <div class="layui-col-xs3">
            <label class="layui-form-label">采购单备注</label>
            <div class="layui-input-block">
                <input type="text" value="{$ren.purchase.remark}" readonly class="layui-input">
            </div>
        </div>
        <div class="layui-col-xs3">
            <label class="layui-form-label">退货审批状态</label>
            <div class="layui-input-block">
                <input type="text" value="{$ren.check_status}" readonly class="layui-input">
            </div>
        </div>
    </div>
</div>
<div class="info-body">
    {if $ren->getData('check_status') != $check_no_need}
    <div class="layui-row job-flow-margin">
        {include file="public/jobFlow" /}
    </div>
    {/if}
    <div class="layui-row">
        <div class="layui-col-xs4">
            <h2>退货单详情</h2>
        </div>
    </div>
    {if !empty($ren_info)}
        {$ren_info|raw}
    {/if}
</div>